/**
 * APITable <https://github.com/apitable/apitable>
 * Copyright (C) 2022 APITable Ltd. <https://apitable.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/* eslint-disable max-len */
import React from 'react';
import { makeIcon, IIconProps } from '../utils/icon';

export const ClearOutlined: React.FC<IIconProps> = makeIcon({
  Path: ({ colors }) => <>
    <path d="M10.0891 1.08253C10.4343 0.484666 11.1988 0.279822 11.7966 0.625L13.0957 1.375C13.6935 1.72018 13.8984 2.48467 13.5532 3.08253L10.6782 8.06218L11.7233 8.66557C12.5604 9.14886 12.9321 10.1616 12.6063 11.0717L11.0739 15.3526C10.999 15.562 10.835 15.7273 10.6262 15.8039C10.4174 15.8805 10.1854 15.8606 9.99279 15.7494L0.899524 10.4994C0.706927 10.3882 0.57361 10.1972 0.535575 9.97811C0.49754 9.75899 0.558709 9.5343 0.702564 9.3647L3.64378 5.89713C4.26901 5.16001 5.33193 4.9755 6.169 5.45879L7.2141 6.06218L10.0891 1.08253ZM4.68061 10.9503L5.55561 9.43478C5.76272 9.07606 5.63981 8.61736 5.28109 8.41026C4.92237 8.20315 4.46368 8.32606 4.25658 8.68478L3.38158 10.2003L2.42779 9.64965L4.7877 6.86741C4.94401 6.68313 5.20974 6.63701 5.419 6.75783L10.9733 9.96461C11.1826 10.0854 11.2755 10.3386 11.1941 10.5661L9.96453 14.001L9.01074 13.4503L9.88574 11.9348C10.0928 11.5761 9.96994 11.1174 9.61122 10.9103C9.2525 10.7031 8.79381 10.8261 8.5867 11.1848L7.7117 12.7003L6.84568 12.2003L7.72068 10.6848C7.92778 10.3261 7.80488 9.86736 7.44616 9.66026C7.08744 9.45315 6.62875 9.57606 6.42164 9.93478L5.54664 11.4503L4.68061 10.9503ZM12.1292 2.54904L9.37917 7.31218L8.51314 6.81218L11.2631 2.04904L12.1292 2.54904Z" fill={ colors[0] } fillRule="evenodd" clipRule="evenodd"/>

  </>,
  name: 'clear_outlined',
  defaultColors: ['#D9D9D9'],
  colorful: false,
  allPathData: ['M10.0891 1.08253C10.4343 0.484666 11.1988 0.279822 11.7966 0.625L13.0957 1.375C13.6935 1.72018 13.8984 2.48467 13.5532 3.08253L10.6782 8.06218L11.7233 8.66557C12.5604 9.14886 12.9321 10.1616 12.6063 11.0717L11.0739 15.3526C10.999 15.562 10.835 15.7273 10.6262 15.8039C10.4174 15.8805 10.1854 15.8606 9.99279 15.7494L0.899524 10.4994C0.706927 10.3882 0.57361 10.1972 0.535575 9.97811C0.49754 9.75899 0.558709 9.5343 0.702564 9.3647L3.64378 5.89713C4.26901 5.16001 5.33193 4.9755 6.169 5.45879L7.2141 6.06218L10.0891 1.08253ZM4.68061 10.9503L5.55561 9.43478C5.76272 9.07606 5.63981 8.61736 5.28109 8.41026C4.92237 8.20315 4.46368 8.32606 4.25658 8.68478L3.38158 10.2003L2.42779 9.64965L4.7877 6.86741C4.94401 6.68313 5.20974 6.63701 5.419 6.75783L10.9733 9.96461C11.1826 10.0854 11.2755 10.3386 11.1941 10.5661L9.96453 14.001L9.01074 13.4503L9.88574 11.9348C10.0928 11.5761 9.96994 11.1174 9.61122 10.9103C9.2525 10.7031 8.79381 10.8261 8.5867 11.1848L7.7117 12.7003L6.84568 12.2003L7.72068 10.6848C7.92778 10.3261 7.80488 9.86736 7.44616 9.66026C7.08744 9.45315 6.62875 9.57606 6.42164 9.93478L5.54664 11.4503L4.68061 10.9503ZM12.1292 2.54904L9.37917 7.31218L8.51314 6.81218L11.2631 2.04904L12.1292 2.54904Z'],
  width: '16',
  height: '16',
  viewBox: '0 0 16 16',
});
